Test your skills through the online practice test: Microsoft .NET Quiz Online Practice Test

Related differences

Ques 16. What is protected accessibility?

Access is restricted to types derived from the containing class.

Is it helpful? Add Comment View Comments
 

Ques 17. What is protected internal accessibility?

Access is restricted to types derived from the containing class or from files within the same assembly.

Is it helpful? Add Comment View Comments
 

Ques 18. What is private accessibility?

Access is restricted to within the containing class.

Is it helpful? Add Comment View Comments
 

Ques 19. What is the default accessibility for a class?

internal for a top level class, private for a nested one.

Is it helpful? Add Comment View Comments
 

Ques 20. What is the default accessibility for members of an interface?

public

Is it helpful? Add Comment View Comments
 

Most helpful rated by users: